package com.vsd.repository;


import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.rest.core.annotation.RestResource;

import com.vsd.domain.IndexActGoods;


@RestResource(exported = false)
public interface IndexActGoodsRepository extends CrudRepository<IndexActGoods, String> {

	Page<IndexActGoods> findByActId(String actId,Pageable p);
	
	IndexActGoods findByGidAndActId(String gId,String actId);
	
}
